import request from '@/utils/request.js'

// 才艺列表
export function learnList(query) {
    return request({
        url: '/pc/train/list',
        method: 'post',
        data: query
    })
}

// 才艺类型
export function learnCategory(query) {
    return request({
        url: '/pc/train/category',
        method: 'get',
        data: query
    })
}

// 才艺详情
export function learnDetail(query) {
    return request({
        url: '/pc/train/detail',
        method: 'post',
        data: query
    })
}

// 才艺报名
export function learnApplication(query) {
    return request({
        url: '/pc/train/application',
        method: 'post',
        data: query
    })
}